{% extends "layout" %}

{% block main %}
<h2>Invalid Kit {{ kit.getid }}</h2>
<p>This kit seems to be badly built.</p>

{% if not kit.isvalid %}{% switch kit.getstatus %}
	{% case "bad_cfg" %}<p class="broken">This kit config file (wak.ini) is missing or invalid</p>{% endcase %}
	{% case "missing_file" %}<p class="broken">This kit list one or more missing files ot load</p>{% endcase %}

    {% case "missing_kit" %}<p class="alert">This kit require one or more missing kits</p>{% endcase %}
	{% default %}<p>Error message was <cite>{{ kit.getstatus }}</cite></p>{% enddefault %}
{% endswitch %}{% endif %}

<!-- vue = badkit -->
{% endblock %}
